<html>
	<head>
		<title>document.write() Example4</title>
	</head>
	<body>
		<p>This is some content that you won't get to see because it will be overwritten.</p>
		<script type="text/javascript">
			window.onload = function(){
				document.write("hello world!");
			}
		</script>
	</body>
</html>